tools/tests: fix resource test build on FreeBSD
authorRoger Pau Monne <roger.pau@citrix.com>
Fri, 5 Feb 2021 12:19:38 +0000 (13:19 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 5 Feb 2021 12:52:19 +0000 (12:52 +0000)
commitd7acc47c8201611fda98ce5bd465626478ca4759
treec6abf5d10d71195e6def2128d8c2b873b02a8c5a
parentff522e2e9163b27fe4d80ba55c18408f9b1f1cb7
tools/tests: fix resource test build on FreeBSD

error.h is not a standard header, and none of the functions declared
there are actually used by the code. This fixes the build on FreeBSD
that doesn't have error.h

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/tests/resource/test-resource.c